#---------------------------------------------------------------------------------------->
### 制作镜像需要的文件列表如下:
#注1: * 表示任意版本号，${archType}是系统架构x86/arm
#注2: 可以将两种架构的文件都放入列表，脚本会根据系统架构选择复制
#注3：python3.9.2可以使用wget python.org/ftp/python/3.9.2/Python-3.9.2.tgz获得
#注4：cmake-3.17.5.tar.gz可以使用wget -O cmake-3.17.5.tar.gz https://cmake.org/files/v3.17/cmake-3.17.5.tar.gz
#注5：其中model_zoo来自mindspore-r1.2 + 三个外部文件
# 将minspore-r1.2解压后仅保存model_zoo文件夹，内容保留official/cv，补充以下文件：
# https://gitee.com/mindspore/models/tree/r1.5/official/cv/resnet/src/metric.py
#      -->  resnet\src\metric.py
# https://github.com/Sanster/tf_ctpn/blob/master/tools/ICDAR13_Det/script.py
#      -->  ctpn\src\script.py
# https://github.com/SakuraRiven/EAST/blob/master/evaluate/rrc_evaluation_funcs.py
#      -->  ctpn\src\rrc_evaluation_funcs.py
#注6：get-pip.py可以使用 wget -O get-pip.py https://bootstrap.pypa.io/get-pip.py 获得

## 推理镜像1
inferFile="
Python-3.9.2.tgz
Ascend-cann-nnrt_*_linux-${archType}.run
Ascend-mindxsdk-mxmanufacture_*_linux-${archType}.run
Ascend-mindxsdk-mxserving_*_linux-${archType}.run
cmake-3.17.5.tar.gz
"

## 推理镜像2
infer_3cFile="
Python-3.9.2.tgz
Ascend-cann-nnrt_*_linux-${archType}.run
Ascend-mindxsdk-mxmanufacture_*_linux-${archType}.run
Ascend-mindxsdk-mxserving-3c_*_linux-${archType}.run
cmake-3.17.5.tar.gz
"

## 推理镜像3
infer_semFile="
Python-3.9.2.tgz
Ascend-cann-nnrt_*_linux-${archType}.run
Ascend-mindxsdk-mxmanufacture_*_linux-${archType}.run
Ascend-mindxsdk-mxserving-sem_*_linux-${archType}.run
cmake-3.17.5.tar.gz
"

## 训练镜像，
trainFile="
Python-3.9.2.tgz
Ascend-cann-nnae_*_linux-${archType}.run
Ascend-cann-toolkit_*_linux-${archType}.run
mindspore_ascend-*-cp39-cp39-linux_${archType}.whl
"

## 可视化镜像
mindinsightFile="
mindinsight-*-py3-none-any.whl
"

## 上云镜像
#注1: 需新建文件夹 modelarts，modelarts里增加上云镜像版本的toolkit，目前上云镜像只有arm
modelartsFile="
modelarts/Ascend-cann-toolkit_*_linux-aarch64.run
"

## access镜像
accessFile="
Ascend-mindxdl-access-manager_*_linux-${archType}.zip
"

## license镜像
licenseFile="
Ascend-mindxdl-license-manager_*_linux-${archType}.zip
"
#---------------------------------------------------------------------------------------->
